<template>
	<van-popup :show="show">
		<div class="shell">
			<div class="content"></div>
			<div class="btn">取消</div>
		</div>
	</van-popup>
</template>
<script lang="ts" setup>
interface IProps {
	show: boolean;
}

interface Emits {
	(e: "update:show", flag: boolean): void;
}

const props = defineProps<IProps>();
</script>
<style lang="stylus" scoped>
:deep().van-overlay
	background rgba(0, 0, 0, .4)

.van-popup--center
	max-width auto

.van-popup
	background transparent

.shell
	width: 350px
	background-color #eeeeee
	display flex
	flex-direction column
	align-items center
	padding 0 60px
	box-sizing border-box

	> .content
		width 100%
		background #ffffff
		padding 30px 0
		box-sizing border-box
</style>
